home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1996 September
/
CHIP Eylül 1996.iso
/
utils
/
povray
/
povmnf.sea
/
POVRAY
/
POV-Ray.rsrc
/
TEXT_324_spotlight.txt
< prev
next >
Wrap
Text File
|
1994-02-09
|
518b
|
13 lines
// create a regular "spotlight" (directed) light source
light_source
{
0*x // light's position (translated below)
color red 1.0 green 1.0 blue 1.0 // light's color
spotlight // this kind of light source
translate <40, 80, -40> // <x y z> position of light
point_at <0, 0, 0> // direction of spotlight
radius 5 // hotspot (inner, in degrees)
tightness 50 // tightness of falloff (1...100) lower is softer, higher is tighter
falloff 8 // intensity falloff radius (outer, in degrees)
}